package com.xpsoft.oa.model.produce;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.project.Project;
import com.xpsoft.oa.model.system.Department;

/**
 * ProjectWorkPlan Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class ProjectWorkPlan extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected Department dept;
	@Expose
	protected Project project;
	@Expose
	protected java.util.Date workPlanDate;


	/**
	 * Default Empty Constructor for class ProjectWorkPlan
	 */
	public ProjectWorkPlan () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class ProjectWorkPlan
	 */
	public ProjectWorkPlan (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public Department getDept() {
		return dept;
	}

	public void setDept(Department dept) {
		this.dept = dept;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	/**
	 * 时间	 * @return java.util.Date
	 * @hibernate.property column="workPlanDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getWorkPlanDate() {
		return this.workPlanDate;
	}
	
	/**
	 * Set the workPlanDate
	 */	
	public void setWorkPlanDate(java.util.Date aValue) {
		this.workPlanDate = aValue;
	}	

}
